@keyframes backgroundFadeIn {
  0% {
    opacity: 0.8;
    background-color: rgb(219, 219, 219);
  }
  to {
    opacity: 1;
    background-color: #fff;
  }
}
.comment-item {
  display: flex;
  padding: 10px 16px;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  background-color: #fff;
  &.new {
    animation-name: backgroundFadeIn;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-duration: 0.7s;
    animation-delay: 0.1s;
  }
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    margin-right: 8px;
  }
  .content {
    flex: 1 1 auto;
    .name-good {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 4px;
      .name {
        font-size: 12px;
        font-weight: 500;
        color: #07132b;
        line-height: 17px;
        margin-bottom: 0;
      }
      .good {
        display: flex;
        align-items: center;
        image {
          display: block;
          margin-right: 4px;
          width: 16px;
          height: 16px;
        }
        text {
          font-size: 12px;
          color: #07132b;
          // line-height: 17px;
          margin-top: 1px;
          &.red {
            color: #ff4053;
          }
        }
      }
    }
    .reply-content {
      margin-bottom: 12px;
      padding: 2px 8px;
      background: #f0f3f7;
      border-radius: 4px;
      font-size: 14px;
      color: #617185;
      line-height: 20px;
    }
    .text {
      margin-bottom: 12px;
      display: block;
      font-size: 14px;
      font-weight: 400;
      color: #07132b;
      line-height: 20px;
    }
    .reply {
      display: flex;
      align-items: center;
      p {
        margin-bottom: 0;
      }

      .btn {
        padding: 2px 12px;
        background: #f5f7fa;
        border-radius: 16px;
        font-size: 12px;
        color: #07132b;
        line-height: 20px;
        margin-right: 8px;
        flex: 0 0 auto;
      }
      .time {
        font-size: 12px;
        color: #a6b1bf;
        line-height: 17px;
        flex: 1 1 auto;
      }
      .delete {
        font-size: 12px;
        color: #a6b1bf;
        line-height: 17px;
        flex: 0 0 auto;
      }
    }
  }
}
